package com.ut.richpath.util;

//import ohos.hiviewdfx.HiLog;
//import ohos.hiviewdfx.HiLogLabel;

public class LogUtil {

    public static final String TAG = "app_hi_log";

    public static final String FORMAT = "app_hi_log: %s";

//    public static final HiLogLabel LOG_LABEL = new HiLogLabel(HiLog.INFO, 0xAA001, TAG);

    public static final boolean HI_LOG = false;

    public static final boolean SYSTEM_OUT_PRINT = true;

    public static void i(String info){
//        if (HI_LOG)HiLog.info(LOG_LABEL, info);
        if (SYSTEM_OUT_PRINT)System.out.println(String.format(FORMAT, info));
    }

    public static void i(String format, Object... args){
//        if (HI_LOG)HiLog.info(LOG_LABEL, format, args);
        if (SYSTEM_OUT_PRINT)System.out.println(String.format(FORMAT, String.format(format, args)));
    }
}
